<?php

class FOXSynch{
	
	var $db;
	
	function FOXSynch(){
		require_once("adodb_vfp.php");
		$this->db = $db;
	}
	
	function sync(){
		$data = $this->collectData();
	}
	
	function collectData(){
		$q = "SELECT * FROM ";
		$res = $this->db->Execute("SELECT * FROM partner WHERE");
	}
	
	function test($q){
		$res = $this->db->Execute($q);
		foreach ($res->fields as $k=>$fields){
			$res->fields[$k] = trim($fields);
		}
		
		echo "<pre>";
		print_r($res->fields);
		echo "</pre>";
	}
}

?>